<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
    <HEAD>
        <TITLE>微信JS</TITLE>
        <META content="text/html; charset=utf-8" http-equiv=Content-Type>
        <META name=viewport content="initial-scale=1, user-scalable=no">
    </HEAD>
    <BODY>

        <input type="button" value="关闭本窗口" onclick="WeixinJSBridge.invoke('closeWindow',{},function(res){});" />
        <?php echo "<script>alert('绑定成功');WeixinJSBridge.call('closeWindow');</script>";?>
    <BODY>
</HTML>